<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title>Beoordeel student</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" media="all">
<link rel="stylesheet" type="text/css" href="css/screen.css" media="screen">
<script src="js/mootools.js" type="application/javascript"></script>
<script src="js/sex.js" type="application/javascript"></script>
<h1>Beoordeel student</h1>
<form id="ratingForm" action="main.php?action=addrating" method="POST">
	<fieldset id="newRating" class="mainfield">
		<h2>Algemeen</h2>
		<p class="text"><label for="stuNr">Student: </label><input type="text" name="student_id" id="stuNr" readonly /></p>
		<p class="text rating"><label for="mark">Eindcijfer: </label><input type="text" name="mark" id="mark" maxlength="2" size="2" /></p>
		<p class="text"><label for="module">Module: </label><input type="text" name="module_id" id="module" readonly /></p>
	</fieldset>
	
	<fieldset>
	<h2 id="titlecriteria">Criteria</h2>
	<table>
		<thead>
			<tr><td id="colCrit">Criteria</td><td id="colComment">Commentaar</td><td id="colMark">Cijfer</td></tr>
			<tr valign="top" id="examplecriteria" class="hide">
				<td></td>
				<td><input type="hidden" name="[id]" /><textarea name="[comment]" rows="1"></textarea></td>
				<td><input type="text" name="[mark]" maxlength="2" value="1" /></td>
			</tr>
		</thead>
		<tbody id="criteriaHolder">
		</tbody>
	</table>
	</fieldset>
	
	<fieldset>
	<h2 id="titlecompetenties">Compenties</h2>
	<table>
		<thead>
			<tr><td id="colCrit">Competentie</td><td id="colMark">Niveau</td></tr>
			<tr id="examplecompetenties" class="hide">
				<td></td>
				<td><input type="hidden" name="[competentie_id]" /><input type="text" name="[got_level]" maxlength="1" value="0" /></td>
			</tr>
		</thead>
		<tbody id="competentiesHolder">
		</tbody>
	</table>
	</fieldset>
	<fieldset class="buttons"><input type="submit" value="verstuur" /><input type="reset" value="Opnieuw invullen" /><button type="button" id="closeBtn">Sluiten</button></fieldset>
</form>